#ifndef OPENBUTTONLISTENER_H_
#define OPENBUTTONLISTENER_H_

#include "../../persistencia/Persistor.h"
#include "../../common/utils/FileChecker.h"
#include "../../SDLtoolkit/widgets/TextScrollBar.h"
#include "SDL/SDL.h"

class OpenButtonListener: public Listener {
public:
	OpenButtonListener(TextScrollBar* textScrollBar);
	void setScrollBar(TextScrollBar* textScrollBar);
	virtual ~OpenButtonListener();
	void execute();

private:
	TextScrollBar* textScrollBar;

	void pushEventsToOpenEditSceneWindow(std::string scenarioName);
};

#endif /* OPENBUTTONLISTENER_H_ */
